package org.god.ibatis.core;

import java.sql.Connection;

public interface Transaction {


    void openConnection() throws Exception;

    Connection getConnection();
    //提供事务的方法
    void commit();

    void rollback();

    void close();
}
